package com.springblog.entity;


import lombok.Data;
import org.springframework.data.mongodb.core.mapping.FieldType;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.util.Date;

@Data
public class DeviceEntity {

    @MongoId(value = FieldType.OBJECT_ID)
    private String id;

    // 设备Id
    private String deviceId;

    // 设备类型
    private int deviceType;

    // 设备类型
    private String deviceName;

    // 创建时间
    private Date createTime;

}
